package com.sangsang.domain.entity;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sangsang.domain.annotation.CDC;
import com.sangsang.kafka.serializer.DateDeserializer;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@TableName(value = "tb_order_capacity")
@CDC(topic = "wly_server.wlyzhwl_test.tb_order_capacity")
public class TbOrderCapacity {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 订单id或计划订单id
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 物料ID
     */
    @TableField(value = "material_id")
    private Long materialId;

    /**
     * 一级物料ID（数据字典）
     */
    @TableField(value = "material_category_id")
    private Long materialCategoryId;

    /**
     * 物料种类
     */
    @TableField(value = "material_category")
    private String materialCategory;

    /**
     * 物料名称
     */
    @TableField(value = "material_name")
    private String materialName;

    /**
     * 物料单位
     */
    @TableField(value = "material_unit")
    private String materialUnit;

    /**
     * 发货组名称
     */
    @TableField(value = "send_cus_name")
    private String sendCusName;

    /**
     * 发货组织ID
     */
    @TableField(value = "send_cus_id")
    private Long sendCusId;

    /**
     * 收货组名称
     */
    @TableField(value = "receive_cus_name")
    private String receiveCusName;

    /**
     * 收货组织ID
     */
    @TableField(value = "receive_cus_id")
    private Long receiveCusId;

    /**
     * 起运地名称
     */
    @TableField(value = "send_adr_name")
    private String sendAdrName;

    /**
     * 发货地址ID
     */
    @TableField(value = "send_adr_id")
    private Long sendAdrId;

    /**
     * 卸货地名称
     */
    @TableField(value = "receive_adr_name")
    private String receiveAdrName;

    /**
     * 收货地址ID
     */
    @TableField(value = "receive_adr_id")
    private Long receiveAdrId;

    /**
     * 物料规格
     */
    @TableField(value = "material_spec")
    private String materialSpec;

    /**
     * 规格单位
     */
    @TableField(value = "material_spec_unit")
    private String materialSpecUnit;

    /**
     * 物料规格ID
     */
    @TableField(value = "material_spec_id")
    private Long materialSpecId;

    /**
     * 物料数量
     */
    @TableField(value = "material_num")
    private BigDecimal materialNum;

    /**
     * 计划运量
     */
    @TableField(value = "plan_capacity")
    private BigDecimal planCapacity;

    /**
     * 实际运量
     */
    @TableField(value = "actual_capacity")
    private BigDecimal actualCapacity;

    /**
     * 货源评级
     */
    @TableField(value = "source_rating")
    private Integer sourceRating;

    /**
     * 计费方式
     */
    @TableField(value = "bill_mode")
    private Integer billMode;

    /**
     * 计费单位
     */
    @TableField(value = "bill_unit")
    private String billUnit;

    /**
     * 计费单价
     */
    @TableField(value = "bill_unit_price")
    private Integer billUnitPrice;

    /**
     * 订单业务类型(1:计划订单;2:订单)
     */
    @TableField(value = "biz_type")
    private Integer bizType;

    /**
     * 发票号
     */
    @TableField(value = "invoice")
    private String invoice;

    /**
     * 发票时间
     */
    @TableField(value = "invoice_date")
    @JSONField(deserializeUsing = DateDeserializer.Integer2LocalDate.class)
    private LocalDate invoiceDate;

    /**
     * 货品编码
     */
    @TableField(value = "product_code")
    private String productCode;

    /**
     * 明细ID
     */
    @TableField(value = "detail_id")
    private String detailId;

    /**
     * 货品重量
     */
    @TableField(value = "product_weight")
    private String productWeight;

    /**
     * 物料体积
     */
    @TableField(value = "product_volume")
    private String productVolume;

    /**
     * 物流标识
     */
    @TableField(value = "order_sale_type")
    private Integer orderSaleType;

    /**
     * 物流类型
     */
    @TableField(value = "line_type")
    private Integer lineType;

    /**
     * 创建人id
     */
    @TableField(value = "create_by")
    private Long createBy;

    /**
     * 创建人
     */
    @TableField(value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private LocalDateTime createTime;

    /**
     * 更新人id
     */
    @TableField(value = "update_by")
    private Long updateBy;

    /**
     * 更新人
     */
    @TableField(value = "update_user")
    private String updateUser;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 是否未删除(1:未删除;2:已删除)
     */
    @TableField(value = "del_flag")
    private Integer delFlag;

    /**
     * 完成运量
     */
    @TableField(value = "complete_capacity")
    private BigDecimal completeCapacity;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 线路里程(米)
     */
    @TableField(value = "line_mileage")
    private Long lineMileage;

    /**
     * 线路时效（分钟）
     */
    @TableField(value = "line_ageing")
    private Integer lineAgeing;

    /**
     * 应收整体计费配置(json字符串)
     */
    @TableField(value = "receive_config")
    private String receiveConfig;

    /**
     * 应付计费配置(json字符串)
     */
    @TableField(value = "pay_config")
    private String payConfig;

    /**
     * 项目
     */
    @TableField(value = "project")
    private String project;

    /**
     * 业务配置主键
     */
    @TableField(value = "biz_type_config_id")
    private Long bizTypeConfigId;

    /**
     * 供应商编码
     */
    @TableField(value = "send_cus_code")
    private String sendCusCode;

    /**
     * 调运日期，yyyy-mm-dd
     */
    @TableField(value = "material_date")
    private String materialDate;

    /**
     * ERP需求单行号
     */
    @TableField(value = "erp_detail_id")
    private String erpDetailId;

    /**
     * 批次
     */
    @TableField(value = "batch_number")
    private String batchNumber;

    /**
     * 批号
     */
    @TableField(value = "batch_no")
    private String batchNo;

    /**
     * 生产日期
     */
    @TableField(value = "product_date")
    private String productDate;

    /**
     * 线路计费表主键
     */
    @TableField(value = "line_charge_id")
    private Long lineChargeId;

    /**
     * 线路绩效得分
     */
    @TableField(value = "line_score")
    private BigDecimal lineScore;

    /**
     * 当前数据是订单时，所属的计划单物料id
     */
    @TableField(value = "order_plan_category_id")
    private Long orderPlanCategoryId;

    public static final String COL_ORDER_ID = "order_id";

    public static final String COL_MATERIAL_ID = "material_id";

    public static final String COL_MATERIAL_CATEGORY_ID = "material_category_id";

    public static final String COL_MATERIAL_CATEGORY = "material_category";

    public static final String COL_MATERIAL_NAME = "material_name";

    public static final String COL_MATERIAL_UNIT = "material_unit";

    public static final String COL_SEND_CUS_NAME = "send_cus_name";

    public static final String COL_SEND_CUS_ID = "send_cus_id";

    public static final String COL_RECEIVE_CUS_NAME = "receive_cus_name";

    public static final String COL_RECEIVE_CUS_ID = "receive_cus_id";

    public static final String COL_SEND_ADR_NAME = "send_adr_name";

    public static final String COL_SEND_ADR_ID = "send_adr_id";

    public static final String COL_RECEIVE_ADR_NAME = "receive_adr_name";

    public static final String COL_RECEIVE_ADR_ID = "receive_adr_id";

    public static final String COL_MATERIAL_SPEC = "material_spec";

    public static final String COL_MATERIAL_SPEC_UNIT = "material_spec_unit";

    public static final String COL_MATERIAL_SPEC_ID = "material_spec_id";

    public static final String COL_MATERIAL_NUM = "material_num";

    public static final String COL_PLAN_CAPACITY = "plan_capacity";

    public static final String COL_ACTUAL_CAPACITY = "actual_capacity";

    public static final String COL_SOURCE_RATING = "source_rating";

    public static final String COL_BILL_MODE = "bill_mode";

    public static final String COL_BILL_UNIT = "bill_unit";

    public static final String COL_BILL_UNIT_PRICE = "bill_unit_price";

    public static final String COL_BIZ_TYPE = "biz_type";

    public static final String COL_INVOICE = "invoice";

    public static final String COL_INVOICE_DATE = "invoice_date";

    public static final String COL_PRODUCT_CODE = "product_code";

    public static final String COL_DETAIL_ID = "detail_id";

    public static final String COL_PRODUCT_WEIGHT = "product_weight";

    public static final String COL_PRODUCT_VOLUME = "product_volume";

    public static final String COL_ORDER_SALE_TYPE = "order_sale_type";

    public static final String COL_LINE_TYPE = "line_type";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_USER = "create_user";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_USER = "update_user";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_DEL_FLAG = "del_flag";

    public static final String COL_COMPLETE_CAPACITY = "complete_capacity";

    public static final String COL_REMARK = "remark";

    public static final String COL_LINE_MILEAGE = "line_mileage";

    public static final String COL_LINE_AGEING = "line_ageing";

    public static final String COL_RECEIVE_CONFIG = "receive_config";

    public static final String COL_PAY_CONFIG = "pay_config";

    public static final String COL_PROJECT = "project";

    public static final String COL_BIZ_TYPE_CONFIG_ID = "biz_type_config_id";

    public static final String COL_SEND_CUS_CODE = "send_cus_code";

    public static final String COL_MATERIAL_DATE = "material_date";

    public static final String COL_ERP_DETAIL_ID = "erp_detail_id";

    public static final String COL_BATCH_NUMBER = "batch_number";

    public static final String COL_BATCH_NO = "batch_no";

    public static final String COL_PRODUCT_DATE = "product_date";

    public static final String COL_LINE_CHARGE_ID = "line_charge_id";

    public static final String COL_LINE_SCORE = "line_score";

    public static final String COL_ORDER_PLAN_CATEGORY_ID = "order_plan_category_id";

    /**
     * 获取主键
     *
     * @return id - 主键
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置主键
     *
     * @param id 主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取订单id或计划订单id
     *
     * @return order_id - 订单id或计划订单id
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置订单id或计划订单id
     *
     * @param orderId 订单id或计划订单id
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取物料ID
     *
     * @return material_id - 物料ID
     */
    public Long getMaterialId() {
        return materialId;
    }

    /**
     * 设置物料ID
     *
     * @param materialId 物料ID
     */
    public void setMaterialId(Long materialId) {
        this.materialId = materialId;
    }

    /**
     * 获取一级物料ID（数据字典）
     *
     * @return material_category_id - 一级物料ID（数据字典）
     */
    public Long getMaterialCategoryId() {
        return materialCategoryId;
    }

    /**
     * 设置一级物料ID（数据字典）
     *
     * @param materialCategoryId 一级物料ID（数据字典）
     */
    public void setMaterialCategoryId(Long materialCategoryId) {
        this.materialCategoryId = materialCategoryId;
    }

    /**
     * 获取物料种类
     *
     * @return material_category - 物料种类
     */
    public String getMaterialCategory() {
        return materialCategory;
    }

    /**
     * 设置物料种类
     *
     * @param materialCategory 物料种类
     */
    public void setMaterialCategory(String materialCategory) {
        this.materialCategory = materialCategory;
    }

    /**
     * 获取物料名称
     *
     * @return material_name - 物料名称
     */
    public String getMaterialName() {
        return materialName;
    }

    /**
     * 设置物料名称
     *
     * @param materialName 物料名称
     */
    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    /**
     * 获取物料单位
     *
     * @return material_unit - 物料单位
     */
    public String getMaterialUnit() {
        return materialUnit;
    }

    /**
     * 设置物料单位
     *
     * @param materialUnit 物料单位
     */
    public void setMaterialUnit(String materialUnit) {
        this.materialUnit = materialUnit;
    }

    /**
     * 获取发货组名称
     *
     * @return send_cus_name - 发货组名称
     */
    public String getSendCusName() {
        return sendCusName;
    }

    /**
     * 设置发货组名称
     *
     * @param sendCusName 发货组名称
     */
    public void setSendCusName(String sendCusName) {
        this.sendCusName = sendCusName;
    }

    /**
     * 获取发货组织ID
     *
     * @return send_cus_id - 发货组织ID
     */
    public Long getSendCusId() {
        return sendCusId;
    }

    /**
     * 设置发货组织ID
     *
     * @param sendCusId 发货组织ID
     */
    public void setSendCusId(Long sendCusId) {
        this.sendCusId = sendCusId;
    }

    /**
     * 获取收货组名称
     *
     * @return receive_cus_name - 收货组名称
     */
    public String getReceiveCusName() {
        return receiveCusName;
    }

    /**
     * 设置收货组名称
     *
     * @param receiveCusName 收货组名称
     */
    public void setReceiveCusName(String receiveCusName) {
        this.receiveCusName = receiveCusName;
    }

    /**
     * 获取收货组织ID
     *
     * @return receive_cus_id - 收货组织ID
     */
    public Long getReceiveCusId() {
        return receiveCusId;
    }

    /**
     * 设置收货组织ID
     *
     * @param receiveCusId 收货组织ID
     */
    public void setReceiveCusId(Long receiveCusId) {
        this.receiveCusId = receiveCusId;
    }

    /**
     * 获取起运地名称
     *
     * @return send_adr_name - 起运地名称
     */
    public String getSendAdrName() {
        return sendAdrName;
    }

    /**
     * 设置起运地名称
     *
     * @param sendAdrName 起运地名称
     */
    public void setSendAdrName(String sendAdrName) {
        this.sendAdrName = sendAdrName;
    }

    /**
     * 获取发货地址ID
     *
     * @return send_adr_id - 发货地址ID
     */
    public Long getSendAdrId() {
        return sendAdrId;
    }

    /**
     * 设置发货地址ID
     *
     * @param sendAdrId 发货地址ID
     */
    public void setSendAdrId(Long sendAdrId) {
        this.sendAdrId = sendAdrId;
    }

    /**
     * 获取卸货地名称
     *
     * @return receive_adr_name - 卸货地名称
     */
    public String getReceiveAdrName() {
        return receiveAdrName;
    }

    /**
     * 设置卸货地名称
     *
     * @param receiveAdrName 卸货地名称
     */
    public void setReceiveAdrName(String receiveAdrName) {
        this.receiveAdrName = receiveAdrName;
    }

    /**
     * 获取收货地址ID
     *
     * @return receive_adr_id - 收货地址ID
     */
    public Long getReceiveAdrId() {
        return receiveAdrId;
    }

    /**
     * 设置收货地址ID
     *
     * @param receiveAdrId 收货地址ID
     */
    public void setReceiveAdrId(Long receiveAdrId) {
        this.receiveAdrId = receiveAdrId;
    }

    /**
     * 获取物料规格
     *
     * @return material_spec - 物料规格
     */
    public String getMaterialSpec() {
        return materialSpec;
    }

    /**
     * 设置物料规格
     *
     * @param materialSpec 物料规格
     */
    public void setMaterialSpec(String materialSpec) {
        this.materialSpec = materialSpec;
    }

    /**
     * 获取规格单位
     *
     * @return material_spec_unit - 规格单位
     */
    public String getMaterialSpecUnit() {
        return materialSpecUnit;
    }

    /**
     * 设置规格单位
     *
     * @param materialSpecUnit 规格单位
     */
    public void setMaterialSpecUnit(String materialSpecUnit) {
        this.materialSpecUnit = materialSpecUnit;
    }

    /**
     * 获取物料规格ID
     *
     * @return material_spec_id - 物料规格ID
     */
    public Long getMaterialSpecId() {
        return materialSpecId;
    }

    /**
     * 设置物料规格ID
     *
     * @param materialSpecId 物料规格ID
     */
    public void setMaterialSpecId(Long materialSpecId) {
        this.materialSpecId = materialSpecId;
    }

    /**
     * 获取物料数量
     *
     * @return material_num - 物料数量
     */
    public BigDecimal getMaterialNum() {
        return materialNum;
    }

    /**
     * 设置物料数量
     *
     * @param materialNum 物料数量
     */
    public void setMaterialNum(BigDecimal materialNum) {
        this.materialNum = materialNum;
    }

    /**
     * 获取计划运量
     *
     * @return plan_capacity - 计划运量
     */
    public BigDecimal getPlanCapacity() {
        return planCapacity;
    }

    /**
     * 设置计划运量
     *
     * @param planCapacity 计划运量
     */
    public void setPlanCapacity(BigDecimal planCapacity) {
        this.planCapacity = planCapacity;
    }

    /**
     * 获取实际运量
     *
     * @return actual_capacity - 实际运量
     */
    public BigDecimal getActualCapacity() {
        return actualCapacity;
    }

    /**
     * 设置实际运量
     *
     * @param actualCapacity 实际运量
     */
    public void setActualCapacity(BigDecimal actualCapacity) {
        this.actualCapacity = actualCapacity;
    }

    /**
     * 获取货源评级
     *
     * @return source_rating - 货源评级
     */
    public Integer getSourceRating() {
        return sourceRating;
    }

    /**
     * 设置货源评级
     *
     * @param sourceRating 货源评级
     */
    public void setSourceRating(Integer sourceRating) {
        this.sourceRating = sourceRating;
    }

    /**
     * 获取计费方式
     *
     * @return bill_mode - 计费方式
     */
    public Integer getBillMode() {
        return billMode;
    }

    /**
     * 设置计费方式
     *
     * @param billMode 计费方式
     */
    public void setBillMode(Integer billMode) {
        this.billMode = billMode;
    }

    /**
     * 获取计费单位
     *
     * @return bill_unit - 计费单位
     */
    public String getBillUnit() {
        return billUnit;
    }

    /**
     * 设置计费单位
     *
     * @param billUnit 计费单位
     */
    public void setBillUnit(String billUnit) {
        this.billUnit = billUnit;
    }

    /**
     * 获取计费单价
     *
     * @return bill_unit_price - 计费单价
     */
    public Integer getBillUnitPrice() {
        return billUnitPrice;
    }

    /**
     * 设置计费单价
     *
     * @param billUnitPrice 计费单价
     */
    public void setBillUnitPrice(Integer billUnitPrice) {
        this.billUnitPrice = billUnitPrice;
    }

    /**
     * 获取订单业务类型(1:计划订单;2:订单)
     *
     * @return biz_type - 订单业务类型(1:计划订单;2:订单)
     */
    public Integer getBizType() {
        return bizType;
    }

    /**
     * 设置订单业务类型(1:计划订单;2:订单)
     *
     * @param bizType 订单业务类型(1:计划订单;2:订单)
     */
    public void setBizType(Integer bizType) {
        this.bizType = bizType;
    }

    /**
     * 获取发票号
     *
     * @return invoice - 发票号
     */
    public String getInvoice() {
        return invoice;
    }

    /**
     * 设置发票号
     *
     * @param invoice 发票号
     */
    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    /**
     * 获取发票时间
     *
     * @return invoice_date - 发票时间
     */
    public LocalDate getInvoiceDate() {
        return invoiceDate;
    }

    /**
     * 设置发票时间
     *
     * @param invoiceDate 发票时间
     */
    public void setInvoiceDate(LocalDate invoiceDate) {
        this.invoiceDate = invoiceDate;
    }

    /**
     * 获取货品编码
     *
     * @return product_code - 货品编码
     */
    public String getProductCode() {
        return productCode;
    }

    /**
     * 设置货品编码
     *
     * @param productCode 货品编码
     */
    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    /**
     * 获取明细ID
     *
     * @return detail_id - 明细ID
     */
    public String getDetailId() {
        return detailId;
    }

    /**
     * 设置明细ID
     *
     * @param detailId 明细ID
     */
    public void setDetailId(String detailId) {
        this.detailId = detailId;
    }

    /**
     * 获取货品重量
     *
     * @return product_weight - 货品重量
     */
    public String getProductWeight() {
        return productWeight;
    }

    /**
     * 设置货品重量
     *
     * @param productWeight 货品重量
     */
    public void setProductWeight(String productWeight) {
        this.productWeight = productWeight;
    }

    /**
     * 获取物料体积
     *
     * @return product_volume - 物料体积
     */
    public String getProductVolume() {
        return productVolume;
    }

    /**
     * 设置物料体积
     *
     * @param productVolume 物料体积
     */
    public void setProductVolume(String productVolume) {
        this.productVolume = productVolume;
    }

    /**
     * 获取物流标识
     *
     * @return order_sale_type - 物流标识
     */
    public Integer getOrderSaleType() {
        return orderSaleType;
    }

    /**
     * 设置物流标识
     *
     * @param orderSaleType 物流标识
     */
    public void setOrderSaleType(Integer orderSaleType) {
        this.orderSaleType = orderSaleType;
    }

    /**
     * 获取物流类型
     *
     * @return line_type - 物流类型
     */
    public Integer getLineType() {
        return lineType;
    }

    /**
     * 设置物流类型
     *
     * @param lineType 物流类型
     */
    public void setLineType(Integer lineType) {
        this.lineType = lineType;
    }

    /**
     * 获取创建人id
     *
     * @return create_by - 创建人id
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * 设置创建人id
     *
     * @param createBy 创建人id
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取创建人
     *
     * @return create_user - 创建人
     */
    public String getCreateUser() {
        return createUser;
    }

    /**
     * 设置创建人
     *
     * @param createUser 创建人
     */
    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取更新人id
     *
     * @return update_by - 更新人id
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置更新人id
     *
     * @param updateBy 更新人id
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取更新人
     *
     * @return update_user - 更新人
     */
    public String getUpdateUser() {
        return updateUser;
    }

    /**
     * 设置更新人
     *
     * @param updateUser 更新人
     */
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    /**
     * 获取更新时间
     *
     * @return update_time - 更新时间
     */
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置更新时间
     *
     * @param updateTime 更新时间
     */
    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取是否未删除(1:未删除;2:已删除)
     *
     * @return del_flag - 是否未删除(1:未删除;2:已删除)
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * 设置是否未删除(1:未删除;2:已删除)
     *
     * @param delFlag 是否未删除(1:未删除;2:已删除)
     */
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    /**
     * 获取完成运量
     *
     * @return complete_capacity - 完成运量
     */
    public BigDecimal getCompleteCapacity() {
        return completeCapacity;
    }

    /**
     * 设置完成运量
     *
     * @param completeCapacity 完成运量
     */
    public void setCompleteCapacity(BigDecimal completeCapacity) {
        this.completeCapacity = completeCapacity;
    }

    /**
     * 获取备注
     *
     * @return remark - 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param remark 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取线路里程(米)
     *
     * @return line_mileage - 线路里程(米)
     */
    public Long getLineMileage() {
        return lineMileage;
    }

    /**
     * 设置线路里程(米)
     *
     * @param lineMileage 线路里程(米)
     */
    public void setLineMileage(Long lineMileage) {
        this.lineMileage = lineMileage;
    }

    /**
     * 获取线路时效（分钟）
     *
     * @return line_ageing - 线路时效（分钟）
     */
    public Integer getLineAgeing() {
        return lineAgeing;
    }

    /**
     * 设置线路时效（分钟）
     *
     * @param lineAgeing 线路时效（分钟）
     */
    public void setLineAgeing(Integer lineAgeing) {
        this.lineAgeing = lineAgeing;
    }

    /**
     * 获取应收整体计费配置(json字符串)
     *
     * @return receive_config - 应收整体计费配置(json字符串)
     */
    public String getReceiveConfig() {
        return receiveConfig;
    }

    /**
     * 设置应收整体计费配置(json字符串)
     *
     * @param receiveConfig 应收整体计费配置(json字符串)
     */
    public void setReceiveConfig(String receiveConfig) {
        this.receiveConfig = receiveConfig;
    }

    /**
     * 获取应付计费配置(json字符串)
     *
     * @return pay_config - 应付计费配置(json字符串)
     */
    public String getPayConfig() {
        return payConfig;
    }

    /**
     * 设置应付计费配置(json字符串)
     *
     * @param payConfig 应付计费配置(json字符串)
     */
    public void setPayConfig(String payConfig) {
        this.payConfig = payConfig;
    }

    /**
     * 获取项目
     *
     * @return project - 项目
     */
    public String getProject() {
        return project;
    }

    /**
     * 设置项目
     *
     * @param project 项目
     */
    public void setProject(String project) {
        this.project = project;
    }

    /**
     * 获取业务配置主键
     *
     * @return biz_type_config_id - 业务配置主键
     */
    public Long getBizTypeConfigId() {
        return bizTypeConfigId;
    }

    /**
     * 设置业务配置主键
     *
     * @param bizTypeConfigId 业务配置主键
     */
    public void setBizTypeConfigId(Long bizTypeConfigId) {
        this.bizTypeConfigId = bizTypeConfigId;
    }

    /**
     * 获取供应商编码
     *
     * @return send_cus_code - 供应商编码
     */
    public String getSendCusCode() {
        return sendCusCode;
    }

    /**
     * 设置供应商编码
     *
     * @param sendCusCode 供应商编码
     */
    public void setSendCusCode(String sendCusCode) {
        this.sendCusCode = sendCusCode;
    }

    /**
     * 获取调运日期，yyyy-mm-dd
     *
     * @return material_date - 调运日期，yyyy-mm-dd
     */
    public String getMaterialDate() {
        return materialDate;
    }

    /**
     * 设置调运日期，yyyy-mm-dd
     *
     * @param materialDate 调运日期，yyyy-mm-dd
     */
    public void setMaterialDate(String materialDate) {
        this.materialDate = materialDate;
    }

    /**
     * 获取ERP需求单行号
     *
     * @return erp_detail_id - ERP需求单行号
     */
    public String getErpDetailId() {
        return erpDetailId;
    }

    /**
     * 设置ERP需求单行号
     *
     * @param erpDetailId ERP需求单行号
     */
    public void setErpDetailId(String erpDetailId) {
        this.erpDetailId = erpDetailId;
    }

    /**
     * 获取批次
     *
     * @return batch_number - 批次
     */
    public String getBatchNumber() {
        return batchNumber;
    }

    /**
     * 设置批次
     *
     * @param batchNumber 批次
     */
    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    /**
     * 获取批号
     *
     * @return batch_no - 批号
     */
    public String getBatchNo() {
        return batchNo;
    }

    /**
     * 设置批号
     *
     * @param batchNo 批号
     */
    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    /**
     * 获取生产日期
     *
     * @return product_date - 生产日期
     */
    public String getProductDate() {
        return productDate;
    }

    /**
     * 设置生产日期
     *
     * @param productDate 生产日期
     */
    public void setProductDate(String productDate) {
        this.productDate = productDate;
    }

    /**
     * 获取线路计费表主键
     *
     * @return line_charge_id - 线路计费表主键
     */
    public Long getLineChargeId() {
        return lineChargeId;
    }

    /**
     * 设置线路计费表主键
     *
     * @param lineChargeId 线路计费表主键
     */
    public void setLineChargeId(Long lineChargeId) {
        this.lineChargeId = lineChargeId;
    }

    /**
     * 获取线路绩效得分
     *
     * @return line_score - 线路绩效得分
     */
    public BigDecimal getLineScore() {
        return lineScore;
    }

    /**
     * 设置线路绩效得分
     *
     * @param lineScore 线路绩效得分
     */
    public void setLineScore(BigDecimal lineScore) {
        this.lineScore = lineScore;
    }

    /**
     * 获取当前数据是订单时，所属的计划单物料id
     *
     * @return order_plan_category_id - 当前数据是订单时，所属的计划单物料id
     */
    public Long getOrderPlanCategoryId() {
        return orderPlanCategoryId;
    }

    /**
     * 设置当前数据是订单时，所属的计划单物料id
     *
     * @param orderPlanCategoryId 当前数据是订单时，所属的计划单物料id
     */
    public void setOrderPlanCategoryId(Long orderPlanCategoryId) {
        this.orderPlanCategoryId = orderPlanCategoryId;
    }


    public static void main(String[] args) {
        String str = "{\n" +
                "    \"id\": 1111111111111111111,\n" +
                "    \"order_id\": 1667056093843345410,\n" +
                "    \"material_id\": 1665921551753502722,\n" +
                "    \"material_category_id\": null,\n" +
                "    \"material_category\": \"系列酒\",\n" +
                "    \"material_name\": \"qIQxiwtvfuPSkUvxA93nBw==\",\n" +
                "    \"material_unit\": \"件\",\n" +
                "    \"send_cus_name\": \"五粮液总仓\",\n" +
                "    \"send_cus_id\": 1661242770195464193,\n" +
                "    \"receive_cus_name\": \"码头尖庄仓\",\n" +
                "    \"receive_cus_id\": 1661663745663741954,\n" +
                "    \"send_adr_name\": \"五粮液总仓-1\",\n" +
                "    \"send_adr_id\": 1666736810374381569,\n" +
                "    \"receive_adr_name\": \"五粮液周边仓-1\",\n" +
                "    \"receive_adr_id\": 1666737630058823681,\n" +
                "    \"material_spec\": \"1\",\n" +
                "    \"material_spec_unit\": \"件\",\n" +
                "    \"material_spec_id\": 1665921551954829313,\n" +
                "    \"material_num\": \"150.000\",\n" +
                "    \"plan_capacity\": null,\n" +
                "    \"actual_capacity\": \"3.000\",\n" +
                "    \"source_rating\": null,\n" +
                "    \"bill_mode\": null,\n" +
                "    \"bill_unit\": null,\n" +
                "    \"bill_unit_price\": null,\n" +
                "    \"biz_type\": 2,\n" +
                "    \"invoice\": \"20074964L66\",\n" +
//                "    \"invoice_date\": 20091,\n" +
                "    \"invoice_date\": null,\n" +
                "    \"product_code\": \"663271\",\n" +
                "    \"detail_id\": \"明细ID\",\n" +
                "    \"product_weight\": \"450.0000\",\n" +
                "    \"product_volume\": \"0.4500\",\n" +
                "    \"order_sale_type\": 2,\n" +
                "    \"line_type\": 3,\n" +
                "    \"create_by\": null,\n" +
                "    \"create_user\": null,\n" +
                "    \"create_time\": 1686320920000,\n" +
                "    \"update_by\": 1666722670616428545,\n" +
                "    \"update_user\": \"张飞\",\n" +
                "    \"update_time\": 1686321923000,\n" +
                "    \"del_flag\": 1,\n" +
                "    \"complete_capacity\": null,\n" +
                "    \"remark\": null,\n" +
                "    \"line_mileage\": null,\n" +
                "    \"line_ageing\": null,\n" +
                "    \"receive_config\": null,\n" +
                "    \"pay_config\": null,\n" +
                "    \"project\": null,\n" +
                "    \"biz_type_config_id\": null,\n" +
                "    \"send_cus_code\": null,\n" +
                "    \"material_date\": null,\n" +
                "    \"erp_detail_id\": null,\n" +
                "    \"batch_number\": null,\n" +
                "    \"batch_no\": null,\n" +
                "    \"product_date\": null,\n" +
                "    \"line_charge_id\": null,\n" +
                "    \"line_score\": null,\n" +
                "    \"order_plan_category_id\": null\n" +
                "}";

        TbOrderCapacity tbOrderCapacity = JSONObject.parseObject(str, TbOrderCapacity.class);
        System.out.println(tbOrderCapacity);

    }

}